package operateur;

/**
 * Exception definition : Err_SoldeInsuffisant
 * 
 * @author OpenORB Compiler
 */
public final class Err_SoldeInsuffisant extends org.omg.CORBA.UserException
{
    /**
     * Exception member soldeRestant
     */
    public float soldeRestant;

    /**
     * Default constructor
     */
    public Err_SoldeInsuffisant()
    {
        super(Err_SoldeInsuffisantHelper.id());
    }

    /**
     * Constructor with fields initialization
     * @param soldeRestant soldeRestant exception member
     */
    public Err_SoldeInsuffisant(float soldeRestant)
    {
        super(Err_SoldeInsuffisantHelper.id());
        this.soldeRestant = soldeRestant;
    }

    /**
     * Full constructor with fields initialization
     * @param soldeRestant soldeRestant exception member
     */
    public Err_SoldeInsuffisant(String orb_reason, float soldeRestant)
    {
        super(Err_SoldeInsuffisantHelper.id() +" " +  orb_reason);
        this.soldeRestant = soldeRestant;
    }

}
